package org.springdemo.user.service;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import com.springdemo.vo.UserVo;

@FeignClient("service-springdemo")
public interface UserFeignService {
	
	@GetMapping("/user/userInfo/{userId}")
	public UserVo findUserById(@PathVariable("userId") String userId);
	
}
